package com.linjacy.container.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.linjacy.common.utils.PageUtils;
import com.linjacy.container.product.entity.OrderEntity;
import com.linjacy.container.product.vo.OrderVo;

import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author linjacy
 * @email 939886352@gmail.com
 * @date 2021-01-03 16:04:54
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils getOrderPage(Map<String, Object> params);


    void saveOrder(OrderEntity order);

    void updateByOrderVo(OrderVo orderVo);

    void deleteById(Long cid);

    void changeOrderStatus(Long cid);

    void changeTransporterAndOrder(Map<String, Object> params);

    void export(Map<String, Object> params,String fileName,HttpServletResponse response) throws Exception;


    Map<String, Object> createAnalysis(Map<String, Object> params);

    List<Map<String, Integer>> getMapList();

    List<Map<String, String>> getNowOrder();

    List<Map<String, Integer>> getBiscuit();
}

